{include file=member.header.html}
<div class="content">
    {include file=member.menu.html}
    <div id="right"> 
        {include file=member.curlocal.html}
        {include file=member.submenu.html}
        <div class="wrap">
            <div class="eject_btn_two eject_pos1" title="{$lang.brand_apply}"><b class="ico3" ectype="dialog" dialog_title="{$lang.brand_apply}" dialog_id="seller_ju_brand_apply" dialog_width="480" uri="index.php?app=seller_ju&act=brand_apply">{$lang.brand_apply}</b></div>
            <div class="public table">
                <table>
                    
                    <!-- {if $brands} -->
                    <tr class="line_bold">
                        <th colspan="4" class="padding3">
                    <div class="select_div"style="float:left">
                        <form method="get">
                            <!--{if $filtered}-->
                            <a class="detlink" style="float:right" href="{url app=seller_ju&act=brand_list}">{$lang.cancel_query}</a>
                            <!--{/if}-->
                            <input type="hidden" name="app" value="seller_ju">
                            <input type="hidden" name="act" value="brand_list">
                            {$lang.brand_name}:
                            <input type="text" class="text_normal" name="brand_name" value="{$smarty.get.brand_name|escape}"/>
                            <select class="select1" name='store'>
                                {html_options options=$lang.all_me selected=$smarty.get.store}
                            </select>
                            <input type="submit" class="btn" value="{$lang.soso}" />
                        </form>
                    </div>
                    </th>
                    </tr>
                    <tr class="sep-row" height="20"><td colspan="4"></td></tr>
                    <tr class="gray">
                        <th class="width11 cursor_pointer" column="brand_name" title="{$lang.sort_order}"  class="cursor_pointer"><span ectype="order_by">{$lang.brand_name}</span></th>
                        <th>{$lang.brand_logo}</th>
                        <th class="width11 cursor_pointer" column='tag' title="{$lang.sort_order}"  class="cursor_pointer"><span ectype="order_by">{$lang.tag}</span></th>
                        <th class="width13">{$lang.handle}</th>
                    </tr>
                    <!-- {/if} -->
                    <!-- {foreach from=$brands item=brand name=v} -->
                    <tr class="line<!--{if $smarty.foreach.v.last}--> last_line<!--{/if}-->">
                        <td class="padding2 align2">{$brand.brand_name}</td>
                        <td class="padding2 align2"><img src="{$brand.brand_logo}" height="30" /></td>
                        <td class="padding2 align2">{$brand.tag}</td>
                        <td class="align2"><!--{if !$brand.if_show}--><a class="edit1" href="javascript:void(0);" ectype="dialog" dialog_title="{$lang.brand_edit}" dialog_id="my_goods_brand_edit" dialog_width="480" uri="index.php?app=seller_ju&act=brand_edit&id={$brand.brand_id}">{$lang.edit}</a> <a class="delete" href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=seller_ju&act=brand_drop&id={$brand.brand_id}');">{$lang.drop}</a><!--{/if}--></td>
                    </tr>
                    <!-- {foreachelse} -->
                    <tr>
                        <td colspan="4" class="member_no_records">{$lang.no_records}</td>
                    </tr>
                    <!--{/foreach}-->
                    <!-- {if $brands} -->
                    <tr>
                        <td colspan="4">
                            <p class="position2">
                                {include file=member.page.bottom.html}
                            </p>
                        </td>
                    <tr>
                        <!-- {/if} -->
                </table>
            </div>
        </div>
        <iframe name="seller_ju" style="display:none"></iframe>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>
{include file=footer.html}